package com.bonc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;


@SpringBootApplication
public class Application implements CommandLineRunner {

    public static void main(String[] args) {
        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow","|{}");
        SpringApplication.run(Application.class, args);
    }

    @Autowired
    WebMvcConfigurationSupport webMvcConfigurer;



    @Override
    public void run(String... args) throws Exception {
        System.out.println(args);
    }
}
